{switch orderStatus}
{case 1}
<span class="text-danger">待付款</span>
<a class="btn btn-primary btn-xs confirm-rst-url-btn" data-toggle="ajaxPost"
   href="{:url('confirm_pay',['id'=> $orderId ])}"
   data-title="警告"
   data-info="确认此订单已付款吗？">
    确认付款
</a>
{/case}
{case 2}
<span class="text-info">待发货</span>
<a class="btn btn-primary btn-xs" data-toggle="ajaxModal"
   href="{:url('change_order',['id'=> $orderId , 'type'=>'send' ])}">
    确认发货
</a>
{/case}
{case 3}
<span class="text-warning">待收货</span>
<a class="btn btn-primary btn-xs confirm-rst-url-btn" data-toggle="ajaxPost"
   href="{:url('confirm_finish',['id'=> $orderId ])}"
   data-info="确认订单收货吗？">
    确认收货
</a>
<a class="text-primary" data-toggle="ajaxModal"
   href="{:url('modify_express',['id'=> $orderId , 'type'=>'modify_send' ])}">
    修改物流
</a>
<a class="text-primary" data-toggle="ajaxModal"
   href="{:url('change_order',['id'=> $orderId , 'type'=>'cancel_send' ])}">
    取消发货
</a>
{/case}
{case 4}
<span class="text-success">已完成&nbsp;</span>
{/case}
{default /}
<span class="text-default">已关闭&nbsp;</span>
{/switch}